package cn.xchats.onlinetraffic.client.monitoring.config;

import de.codecentric.boot.admin.client.config.ClientProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

/*
 *
 *@author teddy
 *@date 2018/6/8
 */
@Component
public class MonitoringClientConfig {
/*    @Autowired
    private Environment environment;

    @Bean
    public ClientProperties clientProperties(){
        String[] url={"http://localhost:5600"};
        ClientProperties clientProperties = new ClientProperties(environment);
        clientProperties.setUrl(url);
        return clientProperties;
    }*/
}
